@import "~themes/vars.less";

.wrap.mobile {
  :global {
    .ant-modal-body {
      max-height: 768px;
    }
  }
}
.wrap {
  &.bgfff {
    background-color: #fff;
  }
  :global {
    .ant-modal-body {
      max-height: 500px;
      overflow: auto;
    }
  }

  .header {
    button {
      width: 82;
      margin-right: 16px;
      :global(.anticon) {
        margin-right: 9px;
      }
    }
  }

  .schemaForm {
    &.hasMobile {
      margin-top: 24px;
    }
    :global {
      .ant-row {
        display: flex;
        flex-wrap: wrap;
      }
      .ant-form-item-control {
        display: flex;
        flex: 1 1 0;
        flex-direction: column;
      }
      .ant-form-item-control-wrapper {
        flex: 1;
      }
      .ant-input-number {
        width: 100%;
      }
    }
  }

  .formButtonGroup {
    margin-top: 20px;
    display: flex;
    flex-direction: row-reverse;
  }

  .no_data {
    min-height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .items_con {
    // display: flex;
    // flex-wrap: wrap;

    .items_col:not(.item_col1) {
      // flex: 0 0 33.3333%;
      :global {
        .ant-upload button {
          max-width: 198px;
        }
        .ant-calendar-picker-clear,
        .ant-calendar-picker-icon {
          right: 2px;
        }
        .ant-calendar-picker-input.ant-input {
          padding-right: 15px;
        }
      }
    }

    .item_col1 {
      flex: 0 0 100%;
      :global {
        .ant-upload button {
          max-width: 100%;
        }
      }
    }
  }

  .check_content {
    background: #fff;
    margin-bottom: 20px;
    font-size: 14px;

    .check_title {
      padding: 16px 32px;
      font-size: 16px;
      color: rgba(0, 0, 0, 0.85);
      border-top: 1px solid #e8e8e8;
    }

    .check_con {
      min-height: 50px;
    }
  }

  .user__select {
    outline: none;
    user-select: none;
    box-sizing: border-box;
    display: block;
    background-color: #fff;
    border-radius: 2px;
    border: 1px solid #d9d9d9;
    border-top-width: 1.02px;
    -webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    padding: 0 3px 3px;
    min-height: 32px;
    overflow: hidden;
    margin-top: 6px;

    &:hover {
      border-color: @color-primary;
    }

    .placeholder {
      color: #bfbfbf;
      overflow: hidden;
      float: left;
      height: 24px;
      line-height: 22px;
      margin-top: 3px;
      padding-left: 8px;
    }
  }

  .user__select_disable {
    background-color: #f5f5f5;
    opacity: 1;
    cursor: not-allowed;
    color: @color-disable;
  }
}
